//
//  WSOrderDetailViewController.h
//  FD
//
//  Created by xiaofang wang on 2018/10/31.
//  Copyright © 2018年 ZhiYuan Network. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "OrderFooterView.h" //表尾 ,子类需要访问 h: ((44*3+10) + 44*8 + 80)

NS_ASSUME_NONNULL_BEGIN

@interface WSOrderDetailViewController : UIViewController <OrderFooterViewDelegate>
/**订单id*/
@property (nonatomic, copy) NSString *orderId;

/**2019-2-18商家联系电话 子类使用*/
@property (nonatomic, copy) NSString *shopPhone;

@end

NS_ASSUME_NONNULL_END

//参考数据格式
/**
 {"event":"SUCCESS","data":{"totalAmount":25.00,"couponAmount":0.00,"shop":{"address":"Edenhall, Model Farm Rd, Cork, Ireland","phone":"021 494 7888","latitude":51.8903393,"name":"Edenhall","id":1,"longitude":-8.5386944},"freightAmount":2.00,"bonusAmount":2.5,"actualAmount":25.00,"goodsList":[{"quantity":1,"price":5.00,"ingredientClassifyList":[{"name":"Size","ingredientList":[{"price":0.00,"name":"8","id":856}],"id":1},{"name":"Toppings","ingredientList":[{"price":1.00,"name":"Chicken Strips","id":861},{"price":1.00,"name":"Ham","id":863},{"price":1.00,"name":"Extra Cheese","id":860},{"price":1.00,"name":"Tandoori Chicken","id":862},{"price":1.00,"name":"Salami","id":865},{"price":1.00,"name":"Pepperoni","id":864},{"price":1.00,"name":"Bacon","id":867},{"price":1.00,"name":"Beef mince","id":866},{"price":1.00,"name":"Red onion","id":869},{"price":1.00,"name":"Sausage slices","id":868},{"price":1.00,"name":"Pineapple","id":871},{"price":1.00,"name":"Mixed peppers","id":870},{"price":1.00,"name":"Sweetcorn","id":872},{"price":1.00,"name":"Mushrooms","id":873},{"price":1.00,"name":"Jalapeno","id":875},{"price":1.00,"name":"Olives","id":874},{"price":1.00,"name":"Fresh cherry tomatoes","id":877},{"price":1.00,"name":"Sundried tomatoes","id":876}],"id":2}],"id":187,"title":"Margherita","userOrderDetailId":586}],"userShippingAddress":{"consignee":"张学友","phone":"1008611","sex":0,"latitude":51.8881855,"detail":"3 Kenley  ave","region":"","longitude":-8.5248957},"remark":"","id":"201901090000021","status":0,"paymentType":1},"describe":""}
 */
